package cn.tedu.project.oa.attendance.service;

import cn.tedu.project.oa.attendance.pojo.dto.AttendanceQuery;
import cn.tedu.project.oa.attendance.pojo.dto.AttendanceSaveParam;
import cn.tedu.project.oa.attendance.pojo.entity.Attendance;
import cn.tedu.project.oa.attendance.pojo.vo.AttendanceInfoVO;
import cn.tedu.project.oa.attendance.pojo.vo.AttendanceVO;
import com.dingtalk.api.response.OapiAttendanceListResponse;
import com.dingtalk.api.response.OapiV2UserGetResponse;

import java.util.List;

public interface AttendanceService {
    /**
     * 查询员工考勤
     *
     * @param id 员工考勤主键
     * @return 员工考勤
     */
    public Attendance selectAttendanceById(Long id);

    /**
     * 查询员工考勤列表
     *
     *
     * @return 员工考勤集合
     */
    public List<AttendanceVO> selectAttendanceList(AttendanceQuery attendanceQuery);

    /**
     * 新增员工考勤
     *
     * @return 结果
     */
    public int insertAttendance(OapiAttendanceListResponse response);

    /**
     * 今日打卡数
     * @return Int
     */

    int count();
}
